:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

.container-fluid {
    min-height: 600px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* overflow-y: auto; 允许垂直滚动 */
}

/* 左下角设备图标 */
.container-fluid::before {
    content: "";
    position: absolute;
    bottom: 60px;
    left: 60px;
    width: 300px;
    height: 300px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M99.5 18.406V92.22h321.594V18.405zm24.75 92.5v288.531h18.688v-288.53H124.25zm253.406 0v288.531h18.688v-288.53h-18.688zm-216.47 58.53v230l199.033.002v-230h-43.5c-.717 8.933-8.194 15.937-17.314 15.937s-16.596-7.004-17.312-15.938H267.75c.968 3.02 1.5 6.223 1.5 9.563c0 17.317-14.058 31.344-31.375 31.344S206.53 196.317 206.53 179c0-3.34.535-6.542 1.5-9.563h-46.843zm138.095 30.845c24.18 0 43.783 19.603 43.783 43.782c0 24.18-19.602 43.782-43.782 43.782c-24.178 0-43.78-19.602-43.78-43.78c0-24.18 19.602-43.783 43.78-43.783zm-81.25 20.814c14.265 0 25.814 11.58 25.814 25.844s-11.55 25.812-25.813 25.812s-25.843-11.548-25.843-25.813s11.58-25.843 25.844-25.843zm68.564 79.344c14.264 0 25.844 11.58 25.844 25.843c0 14.265-11.58 25.814-25.844 25.814s-25.813-11.55-25.813-25.813s11.55-25.842 25.814-25.842zM99.5 418.125v73.844h321.594v-73.845z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
    filter: blur(8px);
    z-index: 0;
}

/* 右上角齿轮图标 */
.container-fluid::after {
    content: "";
    position: absolute;
    top: 60px;
    right: 60px;
    width: 300px;
    height: 300px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1792" viewBox="0 0 1920 1792"><path fill="currentColor" d="M896 896q0-106-75-181t-181-75t-181 75t-75 181t75 181t181 75t181-75t75-181m768 512q0-52-38-90t-90-38t-90 38t-38 90q0 53 37.5 90.5t90.5 37.5t90.5-37.5t37.5-90.5m0-1024q0-52-38-90t-90-38t-90 38t-38 90q0 53 37.5 90.5T1536 512t90.5-37.5T1664 384m-384 421v185q0 10-7 19.5t-16 10.5l-155 24q-11 35-32 76q34 48 90 115q7 11 7 20q0 12-7 19q-23 30-82.5 89.5T999 1423q-11 0-21-7l-115-90q-37 19-77 31q-11 108-23 155q-7 24-30 24H547q-11 0-20-7.5t-10-17.5l-23-153q-34-10-75-31l-118 89q-7 7-20 7q-11 0-21-8q-144-133-144-160q0-9 7-19q10-14 41-53t47-61q-23-44-35-82l-152-24q-10-1-17-9.5T0 987V802q0-10 7-19.5T23 772l155-24q11-35 32-76q-34-48-90-115q-7-11-7-20q0-12 7-20q22-30 82-89t79-59q11 0 21 7l115 90q34-18 77-32q11-108 23-154q7-24 30-24h186q11 0 20 7.5t10 17.5l23 153q34 10 75 31l118-89q8-7 20-7q11 0 21 8q144 133 144 160q0 8-7 19q-12 16-42 54t-45 60q23 48 34 82l152 23q10 2 17 10.5t7 19.5m640 533v140q0 16-149 31q-12 27-30 52q51 113 51 138q0 4-4 7q-122 71-124 71q-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71q-4-3-4-7q0-25 51-138q-18-25-30-52q-149-15-149-31v-140q0-16 149-31q13-29 30-52q-51-113-51-138q0-4 4-7q4-2 35-20t59-34t30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70q4 3 4 7q0 25-51 138q17 23 30 52q149 15 149 31m0-1024v140q0 16-149 31q-12 27-30 52q51 113 51 138q0 4-4 7q-122 71-124 71q-8 0-46-47t-52-68q-20 2-30 2t-30-2q-14 21-52 68t-46 47q-2 0-124-71q-4-3-4-7q0-25 51-138q-18-25-30-52q-149-15-149-31V314q0-16 149-31q13-29 30-52q-51-113-51-138q0-4 4-7q4-2 35-20t59-34t30-16q8 0 46 46.5t52 67.5q20-2 30-2t30 2q51-71 92-112l6-2q4 0 124 70q4 3 4 7q0 25-51 138q17 23 30 52q149 15 149 31"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
    filter: blur(8px);
    z-index: 0;
}

.container {
    margin: 0 auto;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin-bottom: 30px;
}

.news-header {
    padding: 40px 50px 25px;
    border-bottom: 1px solid #eee;
    /* background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); */
    background-color: #f5f7fa; /* 浅灰蓝色背景 */
}

.news-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.news-content {
    padding: 40px 50px;
}

.news-content p {    
    font-size: 1.2rem;
    margin-bottom: 24px;
    text-align: justify;
    padding: 16px 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.news-content p:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    background: #fcfcfc;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: block;
    margin: 40px auto;
}

.news-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 45px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
}

.news-content h2:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.news-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 35px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

.news-content blockquote {
    border-left: 5px solid var(--secondary-color);
    padding: 20px 25px;
    background: #f8f9fa;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.news-content blockquote:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.news-content ul, .news-content ol {
    margin: 25px 0;
    padding-left: 35px;
}

.news-content li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.news-footer {
    padding: 25px 50px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    background: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tag:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.news-actions {
    display: flex;
    gap: 20px;
}

.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--secondary-color);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #2980b9;
    transform: translateY(-5px) scale(1.1);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    width: 0%;
    transition: width 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .container {
        max-width: 95%;
    }
    
    .news-header, .news-content, .news-footer {
        padding: 30px;
    }
    
    .news-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .news-header, .news-content, .news-footer {
        padding: 25px 20px;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-meta, .news-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--secondary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary-color) }
}